package cn.itcast.springboot.mapper;

import cn.itcast.springboot.pojo.User;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

/**
 * @package cn.itcast.springboot.mapper
 * @description:
 * @author: 许超越
 * @date 2019/6/9 17:23
 * @version: V1.0
 */
public interface UserMapper extends Mapper<User> {
    /**
     * 通过id查询单个用户
     * @param id
     * @return
     */
    User queryUserById(@Param("id") Long id);
}
